<html>
<head>
    <link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <span class="PageHeader">Command: RawCommand [BETA]</span>
    <br /><br /><br />
    <span class="SectionHeader">Description:</span> Runs a raw command on aix, symop or sym. While building this command, set the "debug" to "true" in the config file to view the output. 
    <br /><br />
    <div class="InfoDiv">
        This command is currently in BETA.
        <br /> 
        <b><i>WARNING: An improperly written RawCommand may crash your system!!!</i></b> <br />
        For example, the following command that ignores the responses before sending keystrokes is very dangerous.
        <br />
        SymAutomate.exe Command=RawCommand RawCommandType="aix" RawCommandParam="{}{ls},{}{8},{}{help}"
    </div>
    <br /><br /><hr /><br />
    
    <span class="SectionHeader">Parameters:</span>
    <br /><br />
    <b>RawCommandType:</b> (Required) aix|symop|sym. 
    <br /><br />
    <b>RawCommandParam:</b> (Required) One or more Parameters in a specifc format. 
    Any number of parameters can be entered. The prompts are case senstive Example: RawCommandParam="{}{8},{Choice}{1}"<br /><br />
    Special parameter command tag <b>::SLP::</b> can be used to specify a sleep or pause duration between commands. Example: "{}{8},{::SLP::}{2000),{Choice}{1}" will cause a delay of 2 seconds between the commands.<br /><br />
    Special parameter command tag <b>::CIF::</b> can be used to wrap commands where failure should be ignored. Example: "{}{8},{::CIF::}{BEGIN),{Choice}{1},{::CIF::}{END){Selection}{2}" will not fail if "Choice" prompt is not found. It will not send the "1" and wait for "Selection" prompt.
    <br /><br />
    <a href="Global Parameters.htm">Global Parameters</a> can be overridden if needed by specifying them in the command line arguments.
    
    <br /><br /><hr /><br />
    
    <span class="SectionHeader">Usage:</span>
    <br /><br />
    <div class="CodeDiv">SymAutomate.exe Command=RawCommand RawCommandType="sym" RawCommandParam="{}{8},{Choice}{1}"</div>
    The above will log into the specified sym then send a "8", then wait for "Choice" and send a "1".
    <br /><br />
    <div class="CodeDiv">SymAutomate.exe Command=RawCommand RawCommandType="symop" RawCommandParam="{}{RESTART},{Restart Selection}{16},{Choice}{0},{Proceed?}{Y}"</div>
    The above will will restart all symconnect configurations.
    <br /><br />
    <div class="CodeDiv">SymAutomate.exe Command=RawCommand RawCommandType=sym RawCommandParam="{}{8},{Menu Selection}{13},{Default Selection}{12},{Share Type}{31},{Selection}{21},{}{0.700%},{Selection}{},{Selection}{},{Selection}{},{Selection}{},{Okay?}{Y},{Default Selection}{}"</div>
     The above will change the rate of share type 21 to 0.700% and will fail if the old rate is the same as the new rate.
     <br /><br />
    <div class="CodeDiv">SymAutomate.exe Command=RawCommand RawCommandType=sym RawCommandParam="{}{8},{Menu Selection}{13},{Default Selection}{12},{Share Type}{31},{Selection}{21},{}{0.700%},{Selection}{},{Selection}{},{Selection}{},{Selection}{},{::CIF::}{BEGIN},{Okay?}{Y},{::CIF::}{END},{Default Selection}{}"</div>
     The above will change the rate of share type 21 to 0.700% and will not fail if the old rate is the same as the new rate.
     <br /><br />

</body>
</html>
